﻿
using System;

namespace OVS.CoreDomain
{
    public class Voter : IVoter
    {
        private string _voterId;

        private string _name;

        private string _fatherName;

        private string _address;
        private string _wardId;
        private string _districtId;
        private string _panchayatId;

        private DateTime _dateOfBirth;
        private string _emailId;
        private string _photo;
        private bool _haveVoted;
        private string _password;

        public string VoterId
        {
            get { return _voterId; }
            set { _voterId = value; }
        }

        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string FatherName
        {
            get { return _fatherName; }
            set { _fatherName = value; }
        }

        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }

        #region IVoter Members

        public string WardId
        {
            get
            {
                return _wardId;
            }
            set
            {
                _wardId = value;
            }
        }

        public System.DateTime DateOfBirth
        {
            get
            {
                return _dateOfBirth;
            }
            set
            {
                _dateOfBirth = value;
            }
        }

        public string EmailId
        {
            get
            {
                return _emailId;
            }
            set
            {
                _emailId = value;
            }
        }

        public string Photo
        {
            get
            {
                return _photo;
            }
            set
            {
                _photo = value;
            }
        }

        #endregion

        #region IVoter Members

        public string DistrictId
        {
            get
            {
                return _districtId;
            }
            set
            {
                _districtId = value;
            }
        }

        public string PanchayatId
        {
            get
            {
                return _panchayatId;
            }
            set
            {
                _panchayatId = value;
            }
        }

        #endregion

        #region IVoter Members


        public bool HaveVoted
        {
            get
            {
                return _haveVoted;
            }
            set
            {
                _haveVoted = value;
            }
        }

        #endregion
    }
}
